package o;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;
import androidx.databinding.ViewDataBinding.c;
import com.huawei.appgallery.foundation.ui.framework.widget.MaskImageView;
import com.huawei.appgallery.foundation.ui.framework.widget.button.DownloadButton;
import com.huawei.appmarket.framework.widget.NoAdaptRenderImageView;
import com.huawei.appmarket.framework.widget.PromotionSignTextView;
import com.huawei.appmarket.support.video.VideoPlayer;
import huawei.widget.HwTextView;
import o.ewm.j;

public class ewu extends ewp {
    @Nullable
    private static final SparseIntArray ˋॱ = new SparseIntArray();
    @Nullable
    private static final c ॱˊ = null;
    @NonNull
    private final LinearLayout ˊॱ;
    private long ˏॱ;

    static {
        ˋॱ.put(j.י, 1);
        ˋॱ.put(j.ˊʴ, 2);
        ˋॱ.put(j.ʽᶫ, 3);
        ˋॱ.put(j.ॱʻ, 4);
        ˋॱ.put(j.ㆍʼ, 5);
        ˋॱ.put(j.ᐣॱ, 6);
        ˋॱ.put(j.ˊꞌ, 7);
        ˋॱ.put(j.ᶥˋ, 8);
    }

    public ewu(@Nullable jk jkVar, @NonNull View view) {
        this(jkVar, view, ViewDataBinding.ॱ(jkVar, view, 9, ॱˊ, ˋॱ));
    }

    private ewu(jk jkVar, View view, Object[] objArr) {
        super(jkVar, view, 0, (HwTextView) objArr[4], (ImageView) objArr[1], (HwTextView) objArr[7], (DownloadButton) objArr[8], (NoAdaptRenderImageView) objArr[6], (PromotionSignTextView) objArr[5], (MaskImageView) objArr[3], (VideoPlayer) objArr[2]);
        this.ˏॱ = -1;
        this.ˊॱ = (LinearLayout) objArr[0];
        this.ˊॱ.setTag(null);
        ˏ(view);
        ʻ();
    }

    public void ʻ() {
        synchronized (this) {
            this.ˏॱ = 1;
        }
        ˊ();
    }

    public boolean ˎ() {
        synchronized (this) {
            if (this.ˏॱ != 0) {
                return true;
            }
            return false;
        }
    }

    public void ˏ() {
        synchronized (this) {
            long j = this.ˏॱ;
            this.ˏॱ = 0;
        }
    }
}
